package com.cyy.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 余额报警记录表
 * @TableName balance_alarm
 */
@TableName(value ="balance_alarm")
@Data
public class BalanceAlarm implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private Integer dormitoryId;

    /**
     * 
     */
    private Integer equipmentId;

    //是否处理
    private Integer isSolved;
    /**
     * 
     */
    private String note;

    /**
     * 
     */
    private Double deviceBalance;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer isDelete;

    //报警日期
    private Date alarmDate;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}